home *** CD-ROM | disk | FTP | other *** search
Text File | 1990-04-03 | 2.3 KB | 70 lines | [TEXT/MPS ] |
- ; File: E16.Sound
- ;
- ;
- ; Copyright Apple Computer, Inc. 1986-90
- ; All Rights Reserved
- ;
- ;
- noDOCFndErr EQU $0810 ; no DOC chip found
- docAddrRngErr EQU $0811 ; DOC address range error
- noSAppInitErr EQU $0812 ; no SAppInit call made
- invalGenNumErr EQU $0813 ; invalid generator number
- synthModeErr EQU $0814 ; synthesizer mode error
- genBusyErr EQU $0815 ; generator busy error
- mstrIRQNotAssgnErr EQU $0817 ; master IRQ not assigned
- sndAlreadyStrtErr EQU $0818 ; sound tools already started
- unclaimedSndIntErr EQU $08FF ; sound tools already started
- ffSynthMode EQU $0001 ; Free form synthesizer mode
- noteSynthMode EQU $0002 ; Note synthesizer mode.
- gen0off EQU $0001 ; param to FFStopSound
- gen1off EQU $0002 ; param to FFStopSound
- gen2off EQU $0004 ; param to FFStopSound
- gen3off EQU $0008 ; param to FFStopSound
- gen4off EQU $0010 ; param to FFStopSound
- gen5off EQU $0020 ; param to FFStopSound
- gen6off EQU $0040 ; param to FFStopSound
- gen7off EQU $0080 ; param to FFStopSound
- gen8off EQU $0100 ; param to FFStopSound
- gen9off EQU $0200 ; param to FFStopSound
- gen10off EQU $0400 ; param to FFStopSound
- gen11off EQU $0800 ; param to FFStopSound
- gen12off EQU $1000 ; param to FFStopSound
- gen13off EQU $2000 ; param to FFStopSound
- gen14off EQU $4000 ; param to FFStopSound
- genAvail EQU $0000 ; Generator available status
- ffSynth EQU $0100 ; Free Form Synthesizer status
- noteSynth EQU $0200 ; Note Synthesizer status
- lastBlock EQU $8000 ; Last block of wave
- smReadRegister EQU $00 ; Read Register routine
- smWriteRegister EQU $04 ; Write Register routine
- smReadRam EQU $08 ; Read Ram routine
- smWriteRam EQU $0C ; Write Ram routine
- smReadNext EQU $10 ; Read Next routine
- smWriteNext EQU $14 ; Write Next routine
- smOscTable EQU $18 ; Pointer to Oscillator table
- smGenTable EQU $1C ; Pointer to generator table
- smGcbAddrTable EQU $20 ; Pointer to GCB address table
- smDisableInc EQU $24 ; Disable Increment routine
- ; offset constants for SoundParamBlock
- owaveStart EQU 0
- owaveSize EQU 4
- ofreqOffset EQU 6
- odocBuffer EQU 8
- obufferSize EQU 10
- onextWavePtr EQU 12
- ovolSetting EQU 16
- ; offset constants for DocRegParamBlk
- ooscGenType EQU 0
- ofreqLow1 EQU 2
- ofreqHigh1 EQU 3
- ovol1 EQU 4
- otablePtr1 EQU 5
- ocontrol1 EQU 6
- otableSize1 EQU 7
- ofreqLow2 EQU 8
- ofreqHigh2 EQU 9
- ovol2 EQU 10
- otablePtr2 EQU 11
- ocontrol2 EQU 12
- otableSize2 EQU 13
-